/*
 * Copyright (c) 2022.  Asiacom Technology Inc. All rights reserved
 */

package com.swanclouds.model.systems;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.swanclouds.model.ModelEntity;

/**
 * @author 张立强
 * @version jdk1.8.0
 */
public class BondReq implements ModelEntity {

	@JsonProperty("BondingEnable")
	private String bondingEnable;

	public String getBondingEnable() {
		return bondingEnable;
	}

	public static BondReq builder() {
		return new BondReq();
	}

	public BondReq bondingEnable(String bondingEnable) {
		this.bondingEnable = bondingEnable;
		return this;
	}

	@Override
	public String toString() {
		ObjectMapper objectMapper = new ObjectMapper();
		try {
			return objectMapper.writeValueAsString(this);
		} catch (JsonProcessingException e) {
		}
		return "BondReq {" +
				"bondingEnable='" + bondingEnable + '\'' +
				'}';
	}
}
